package com.doform.android.xianggucheng.bean.request_bean;

import com.doform.android.xianggucheng.help.AppHelp;
import com.google.gson.Gson;

/**
 * 作者 Y_MS
 * Created by ${APEN} on 2017-08-02.
 * GitHub：https://github.com/cxydxpx
 */

public class ReqUpdateCategoryBean {

    private String _savetype = "update";
    private String id;
    private String clsname;
    private String corder;
    private String fid;
    private boolean debug = AppHelp.getInstance().Debug;

    /**
     * @param name
     * @param sort
     * @param id
     * @param fid
     */
    public ReqUpdateCategoryBean(String name, String sort, String id, String fid) {
        this.clsname = name;
        this.corder = sort;
        this.id = id;
        this.fid = fid;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}
